﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class 奖励点 : MonoBehaviour
{
    public int m_奖励点数 = 10;
    public TextMesh m_数字文本;

    void Start()
    {
        this.tag = "奖励";

        m_数字文本.text = m_奖励点数.ToString();

        DestroyObject(gameObject, 15);

    }
    
}
